package com.example.makerspace.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@TableName(value = "sign_in_record")
@Data
@Document(indexName = "sign_in_record")
public class SingInRecordDO  extends  BaseDO{
    @Field(name = "username", type = FieldType.Text)
    private  String username;
    @Field(name = "sign_date", type = FieldType.Text)
    private  Date  signDate;
    @Field(name = "continue_number", type = FieldType.Text)
    private  Integer continueNumber;
    @Field(name = "is_sign", type = FieldType.Text)
    private  Integer isSign;
}
